package org.edu.modules.oa.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.edu.modules.oa.entity.VeOaDiaryEntity;
import org.edu.modules.oa.entity.VeUserEntity;
import org.edu.modules.oa.mapper.IVeUserMapper;
import org.edu.modules.oa.service.IVeUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class VeUserServiceImpl implements IVeUserService {
    @Resource
    private IVeUserMapper iVeUserMapper;
    @Override
    public List<VeUserEntity> getSysUserList() {
        QueryWrapper<VeUserEntity> tableWrapper = new QueryWrapper<>();
        tableWrapper.select("id,username,realname");
        List<VeUserEntity> typeList =iVeUserMapper.selectList(tableWrapper);
        return typeList;
    }
}
